package com.huang.init;

import lombok.extern.log4j.Log4j2;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author han
 * @since 2022-01-14 16:15:39
 */
@Log4j2
@Component
public class InitCommandLine implements CommandLineRunner {


    @Override
    public void run(String... args) {
       log.info("csp.sentinel.app.type ==> {}", System.getProperty("csp.sentinel.app.type"));
       log.info("csp.sentinel.app.name ==> {}", System.getProperty("csp.sentinel.app.name"));
    }
}
